<template>
    <div class="merchat-num">
        <div class="top">商戶編號：{{ busiId }}</div>
        <div class="level" v-if="level">商戶等級：<star :level="level"/></div>
    </div>
</template>

<script setup>
import star from "./star.vue"

const props = defineProps({
    level: {
        type: Number,
        default: 0
    },
    busiId: {
        type: String,
        default: ""
    }
})
</script>

<style scoped>
.merchat-num {
    display: flex;
    color: #3D3D3D;
    font-weight: bold;
    font-size: 36px;
}
.top {
    color: #3D3D3D;
    font-weight: bold;
    font-size: 36px;
}
.level {
    margin-left: 62px;
    display: flex;
}
</style>